From 62b858c35bb2d69a49a8c3b6d546305833562fb2 Mon Sep 17 00:00:00 2001 From: tsteven4 Date: Thu, 21 Jun 2018 14:13:39 -0600 Subject: [PATCH] correct header file list in GPSBabel.pro, and a warning fix. (#203) C4146: unary minus operator applied to unsigned type, result still unsigned --- GPSBabel.pro | 2 +- energympro.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GPSBabel.pro b/GPSBabel.pro index e387c4aa2..dc91ce313 100644 --- a/GPSBabel.pro +++ b/GPSBabel.pro @@ -120,13 +120,13 @@ HEADERS = \ xmlgeneric.h \ zlib/crc32.h \ zlib/deflate.h \ + zlib/gzguts.h \ zlib/inffast.h \ zlib/inffixed.h \ zlib/inflate.h \ zlib/inftrees.h \ zlib/trees.h \ zlib/zconf.h \ - zlib/zconf.in.h \ zlib/zlib.h \ zlib/zutil.h \ src/core/xmlstreamwriter.h \ diff --git a/energympro.cc b/energympro.cc index b70cccdb5..338fb4376 100644 --- a/energympro.cc +++ b/energympro.cc @@ -240,7 +240,7 @@ track_read() } gbfseek(file_in, 0L, SEEK_END); - gbfseek(file_in, (int32_t) -(sizeof(tw_workout)), SEEK_CUR); + gbfseek(file_in, -(int32_t)(sizeof(tw_workout)), SEEK_CUR); tw_workout workout; workout.dateStart.Year = gbfgetc(file_in); workout.dateStart.Month = gbfgetc(file_in); -- 2.30.2